package com.financial.business.yspay.service.asyn.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.financial.business.yspay.dao.asyn.FinancialRefundAsyncDao;
import com.financial.business.yspay.domain.asyn.FinancialRefundAsyncDO;
import com.financial.business.yspay.service.asyn.FinancialRefundAsyncService;


@Service
public class FinancialRefundAsyncServiceImpl implements FinancialRefundAsyncService {
    @Autowired
    private FinancialRefundAsyncDao financialRefundAsyncDao;

    @Override
    public FinancialRefundAsyncDO get(Integer id) {
        return financialRefundAsyncDao.get(id);
    }

    @Override
    public List<FinancialRefundAsyncDO> list(Map<String, Object> map) {
        return financialRefundAsyncDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return financialRefundAsyncDao.count(map);
    }

    @Override
    public int save(FinancialRefundAsyncDO financialRefundAsync) {
        return financialRefundAsyncDao.save(financialRefundAsync);
    }

    @Override
    public int update(FinancialRefundAsyncDO financialRefundAsync) {
        return financialRefundAsyncDao.update(financialRefundAsync);
    }

    @Override
    public int remove(Integer id) {
        return financialRefundAsyncDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return financialRefundAsyncDao.batchRemove(ids);
    }

}
